<?php
/**
 * Created by PhpStorm.
 * User: R.Ice
 * Date: 2018/11/14
 * Time: 11:09
 * name:更新专家回答附件
 * url:/erpSpecialist/update_specialist_answer_attachment
 */

$osaa_id = $route->bodyParams["osaa_id"];//主键ID

//更新条件
$whereArr = [
    "osaa_id" => $osaa_id
];

$updateArr = deleteArrData($whereArr,$route->bodyParams);

//执行写入语句
$rsData = $db->mysqlDB->update("oa_specialist_answer_attachment",$whereArr,$updateArr);

//返回成功结果
$response->responseData( true, $rsData );